<%@ page import="cn.edu.hbcit.text1.Account" %>
<%@ page import="cn.edu.hbcit.text1.StudentDb" %><%--
  Created by IntelliJ IDEA.
  User: 11507
  Date: 2019/6/20
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div class="container">
    <%@include file="template/header.jsp" %>
    <%
        ServletContext servletContext = (ServletContext) request.getServletContext();
        servletContext.removeAttribute("acountNumber");
        String temp = (String) servletContext.getAttribute("acountNumber");
        System.out.println(temp);
        if (true) {
            out.print("<div class=\"alert alert-success\">\n" +
                    "  <strong>成功!</strong>  退出成功。\n" +
                    "</div>");
        } else {
            out.print("<div class=\"alert alert-danger\">\n" +
                    "  <strong>失败!</strong> 退出失败，系统故障 \n" +
                    "</div>");
        }
    %>

    <%

    %>

    <a href="index.jsp">
        <button type="button" class="btn btn-outline-secondary">返回主页</button>
    </a>
    <%@include file="template/footer.jsp" %>
</div>
<%@include file="template/link.jsp" %>
<%@include file="template/autoClick.jsp" %>
</body>
</html>

